package com.example.demo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.demo.domin.entity.User;
import com.example.demo.domin.vo.UserVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper()
public interface UserMapper extends BaseMapper<User> {
    void insertUser(@Param("user") User user);
    List<UserVO> getUserList();
}
